//
//  LoginViewController.h
//  cherryproduct
//
//  Created by Enter zhao on 14-8-6.
//  Copyright (c) 2014年 cherry. All rights reserved.
//

#import "BaseViewController.h"
#import "WeiboSDK.h"
#import <TencentOpenAPI/TencentOAuth.h>
@interface LoginViewController : BaseViewController<WBHttpRequestDelegate,TencentSessionDelegate,UITextFieldDelegate>
{
    NSMutableArray* _permissions;
    TencentOAuth* _tencentOAuth;
}

@property(nonatomic, assign) BOOL m_is_come_other;

@property(nonatomic, copy) AGDISMISS block_dismiss;
@property (weak, nonatomic) IBOutlet UIButton *btn_qq;

@property (strong, nonatomic) IBOutlet UITextField *userNameField;
@property (strong, nonatomic) IBOutlet UITextField *passwordField;

- (IBAction)qqbuttonAction:(UIButton *)sender;
- (IBAction)sinaButtonAction:(UIButton *)sender;
- (IBAction)forgetPwdButtonAction:(UIButton *)sender;
- (IBAction)loginButtonAction:(UIButton *)sender;
- (IBAction)enterButtonAction:(UIButton *)sender;

+ (NSMutableDictionary *)shareUserInfo;
+ (void)saveUserInfo;

//联合登录
- (void)joinLoginWeibo:(WBBaseResponse *)response;
- (void)joinLoginQQ:(NSDictionary*)dic;

@end







